package org.jeecg.modules.app.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 企业信息
 * @Author: jeecg-boot
 * @Date:   2024-07-19
 * @Version: V1.0
 */
@Data
@TableName("base_company")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="base_company对象", description="企业信息")
public class BaseCompany implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**所属渠道*/
	@Excel(name = "所属渠道", width = 15, dictTable = "base_sale_channel", dicText = "channel_name", dicCode = "channel_code")
	@Dict(dictTable = "base_sale_channel", dicText = "channel_name", dicCode = "channel_code")
    @ApiModelProperty(value = "所属渠道")
    private java.lang.String channelCode;
	/**单位名称*/
	@Excel(name = "单位名称", width = 15)
    @ApiModelProperty(value = "单位名称")
    private java.lang.String companyName;
	/**单位简称*/
	@Excel(name = "单位简称", width = 15)
    @ApiModelProperty(value = "单位简称")
    private java.lang.String shortName;
	/**单位类型*/
	@Excel(name = "单位类型", width = 15, dicCode = "dict_company_type")
	@Dict(dicCode = "dict_company_type")
    @ApiModelProperty(value = "单位类型")
    private java.lang.String companyType;
	/**行业类型*/
	@Excel(name = "行业类型", width = 15, dicCode = "dict_industry_type")
	@Dict(dicCode = "dict_industry_type")
    @ApiModelProperty(value = "行业类型")
    private java.lang.String industryType;
	/**社会信用代码*/
	@Excel(name = "社会信用代码", width = 15)
    @ApiModelProperty(value = "社会信用代码")
    private java.lang.String creditCode;
	/**地区*/
	@Excel(name = "地区", width = 15)
    @ApiModelProperty(value = "地区")
    private java.lang.String district;
	/**注册资本*/
	@Excel(name = "注册资本", width = 15)
    @ApiModelProperty(value = "注册资本")
    private java.math.BigDecimal registerCapital;
	/**成立时间*/
	@Excel(name = "成立时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "成立时间")
    private java.util.Date establishDate;
	/**开始日期*/
	@Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private java.util.Date startTerm;
	/**结束日期*/
	@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private java.util.Date endTerm;
	/**登记机关*/
	@Excel(name = "登记机关", width = 15)
    @ApiModelProperty(value = "登记机关")
    private java.lang.String registrationAuthority;
	/**经营地址*/
	@Excel(name = "经营地址", width = 15)
    @ApiModelProperty(value = "经营地址")
    private java.lang.String address;
	/**经营范围*/
	@Excel(name = "经营范围", width = 15)
    @ApiModelProperty(value = "经营范围")
    private java.lang.String businessScope;
	/**主营业务*/
	@Excel(name = "主营业务", width = 15)
    @ApiModelProperty(value = "主营业务")
    private java.lang.String businessExpertise;
	/**单位介绍*/
	@Excel(name = "单位介绍", width = 15)
    @ApiModelProperty(value = "单位介绍")
    private java.lang.String introduction;
	/**营业执照*/
	@Excel(name = "营业执照", width = 15)
    @ApiModelProperty(value = "营业执照")
    private java.lang.String businessLicense;
	/**单位logo*/
	@Excel(name = "单位logo", width = 15)
    @ApiModelProperty(value = "单位logo")
    private java.lang.String logo;
	/**认证状态*/
	@Excel(name = "认证状态", width = 15, dicCode = "dict_company_status")
	@Dict(dicCode = "dict_company_status")
    @ApiModelProperty(value = "认证状态")
    private java.lang.Integer status;
	/**系统用户*/
	@Excel(name = "系统用户", width = 15)
    @ApiModelProperty(value = "系统用户")
    private java.lang.String sysUserId;
	/**移动用户*/
	@Excel(name = "移动用户", width = 15)
    @ApiModelProperty(value = "移动用户")
    private java.lang.String appUserId;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15)
    @ApiModelProperty(value = "删除标识")
    @TableLogic
    private java.lang.Integer delFlag;
}
